isValid

open fun isValid(): Boolean

Returns true if this color is a valid color. The color is valid only if its channel values are in the 0..1 range.